import moment from 'moment'
export default function (time, targetFormat) {
  return moment(time).local().format(targetFormat)
}
